package pers.baiban.sqltoword.service.impl;

import pers.baiban.sqltoword.mapper.ColumnsMapper;
import pers.baiban.sqltoword.model.Columns;
import pers.baiban.sqltoword.service.ColumnsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ColumnsServiceImpl implements ColumnsService {

    @Autowired
    private ColumnsMapper baseMapper;

    @Override
    public List<Columns> queryColumns(String tableName) {
        return baseMapper.queryColumns(tableName);
    }
}